package at.patooogle.classquiz.web.repository.entity;

import java.util.List;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

/**
 *
 * @author Thomas
 */
@Entity
@DiscriminatorValue("teacher")
public class Teacher extends Person {
    @OneToMany(mappedBy = "owningTeacher")
    private List<PupilGroup> pupilGroups;
    
}
